package com.wise.summer.v1.cms.content.uploadresource;

import com.wise.entities.content.Resource;
import com.wise.framework.annotations.ApiInfo;
import com.wise.framework.annotations.Publish;
import com.wise.framework.annotations.validation.NotBlank;
import com.wise.framework.restful.PageParamGitHub;
import com.wise.framework.restful.PageResultList;
import lombok.Getter;
import lombok.Setter;

import static com.wise.model.content.ContentErrMsgs.Err_100100000007;


/**
 * @author Pitaya
 * @date 2019-11-15
 */

@Getter
@Setter
@Publish
@ApiInfo("查询文件")
public class GetUploadResource extends PageParamGitHub<PageResultList<Resource>> {
    @ApiInfo("文件名")
    private String fileName;

    @NotBlank(msg = Err_100100000007)
    @ApiInfo("资源分组")
    private String groupId;
}
